package com.com.effectivejava.method;

/**
 * Created by User on 07/07/2014.
 */
public class MethodParameter {

    // check for parameter validity and throw as Required.
    // NullPointerException
    // IllegalArgumentException
    // IndexOutOfBoundException

    // Private helper function for a recursive sort
    private static void sort(long a[], int offset, int length) {
        assert a != null;
        assert offset >= 0 && offset <= a.length;
        assert length >= 0 && length <= a.length - offset;
        //... // Do the computation
    }



}
